package com.shigen.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import lombok.Data;

/**
 * second_menu
 *
 * @author
 */
@ApiModel(value = "com.shigen.demo.entity.SecondMenu二级菜单项")
@Data
@TableName(value = "second_menu")
public class SecondMenu implements Serializable {

  /**
   * 二级菜单项的id
   */
  @ApiModelProperty(value = "二级菜单项的id")
  @TableId(type = IdType.AUTO)
  private Integer id;

  /**
   * 二级菜单项显示的图标
   */
  @ApiModelProperty(value = "二级菜单项显示的图标")
  private String icon;

  /**
   * 二级菜单项的链接地址
   */
  @ApiModelProperty(value = "二级菜单项的链接地址")
  private String url;

  /**
   * 二级菜单项显示的文字
   */
  @ApiModelProperty(value = "二级菜单项显示的文字")
  private String name;

  /**
   * 二级菜单项的父菜单项id
   */
  @ApiModelProperty(value = "二级菜单项的父菜单项id")
  private Integer pId;

  private static final long serialVersionUID = 1L;
}
